package com.qijian.quality.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qijian.quality.domain.FlowableUser;
import com.qijian.quality.domain.query.FlowableUserQuery;
import com.qijian.quality.domain.vo.FlowableUserVo;
import com.qijian.quality.mapper.FlowableUserMapper;
import com.qijian.quality.service.IFlowableUserService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 管理流程处理人Service业务层处理
 *
 * @author qijian
 * @date 2022-04-06
 */
@Service
@RequiredArgsConstructor
public class FlowableUserServiceImpl extends ServiceImpl<FlowableUserMapper, FlowableUser> implements IFlowableUserService {

    private final FlowableUserMapper flowableUserMapper;

    @Override
    public List<FlowableUserVo> listVo(QueryWrapper<FlowableUserQuery> queryWrapper) {
        return flowableUserMapper.selectVo(queryWrapper);
    }
}
